package com.kuangchi.weixin.sginin.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.io.Serializable;

/**
 * @version v1.0
 * @类描述：
 * @项目名称：
 * @包名： com.kuangchi.weixin.sginin.vo
 * @类名称：KcSgininExcelVo
 * @创建人：YIHANG.XU
 * @创建时间：2020/10/153:00 下午
 * @修改人：YIHANG.XU
 * @修改时间：2020/10/153:00 下午
 * @修改备注：
 * @Copyright
 */
public class KcSgininExcelVo implements Serializable {

    @ExcelProperty(value = "名字")
    private String name;
    @ExcelProperty(value = "学校")
    private String school;
    @ExcelProperty(value = "学区")
    private String campus;
    @ColumnWidth(value = 20)
    @ExcelProperty(value = "手机号")
    private String phone;
    @ColumnWidth(value = 20)
    @ExcelProperty(value = "是否签到")
    private String sigininFlag;
    @ColumnWidth(value = 10)
    @ExcelProperty(value = "职务")
    private String job;
    @ColumnWidth(value = 10)
    @ExcelProperty(value = "是否停车")
    private String parkingFlag;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getCampus() {
        return campus;
    }

    public void setCampus(String campus) {
        this.campus = campus;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSigininFlag() {
        return sigininFlag;
    }

    public void setSigininFlag(String sigininFlag) {
        this.sigininFlag = "0".equals(sigininFlag) ? "未签到" : "已签到";
    }

    public String getParkingFlag() {
        return parkingFlag;
    }

    public void setParkingFlag(String parkingFlag) {
        this.parkingFlag = "0".equals(parkingFlag) ? "不需要停车" : "需要停车";
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
}
